<template>
  <div id="app">
    <router-view />
    <tabBar v-show="$route.meta.showFooter"></tabBar>
  </div>
</template>
<script>
import tabBar from "./components/tabbar";
export default {
    components: { tabBar }
}
</script>
<style lang="stylus">
* {
  margin: 0;
  padding: 0;
  font-size: 0.28rem;
}

li {
  list-style: none;
}

.clearfix:after {
  content: '.';
  display: block;
  height: 0;
  font-size: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  zoom: 1;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  height: 100vh;
  box-sizing: border-box;
}

.title {
  font-size: 0.36rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #fff;
  position: relative;
  padding-top: 0.7rem;
  height: 1rem;
  background-image: linear-gradient(to right, #2c85e9, #0d63d6);

  span {
    position: absolute;
    width: 1rem;
    height: 100%;
    left: 0;
    top: 0;
    background: url('./assets/images/back_icon.png') center no-repeat;
    background-size: 0.16rem;
  }
}

input::-webkit-input-placeholder {
  color: #ccc;
}

input::-moz-placeholder {
  color: #ccc;
}

input:-moz-placeholder {
  color: #ccc;
}

input:-ms-input-placeholder {
  color: #ccc;
}

input {
  outline: none;
}

.mask {
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  width: 100%;
  height: calc(100% - 0.73rem);
  z-index: 1;
  top: 0.73rem;
}

.commit {
  position: fixed;
  background: #237be3;
  left: 0.3rem;
  right: 0.3rem;
  bottom: 0.3rem;
  height: 0.9rem;
  line-height: 0.9rem;
  border-radius: 0.08rem;
  color: #fff;
  text-align: center;
  font-size: 0.3rem;
}
</style>
